******************************************************************************
*                      1. Do-File Descriptions                               *
******************************************************************************

(1) Spatial Setup.do - Stata do-file to generate and save spatial matrices. DO THIS FIRST and ONE TIME ONLY

(2) Replication and SI.do - State code to generate all results used in Figures 3 & 4 and tables in Supplemental Information
NB: this do-file contains "Replication Setup.do" as a nested do file; this will generate all variables needed for the analysis.

	
******************************************************************************
*                           2. Data files                                    *
******************************************************************************

Replication Data.dta 


******************************************************************************
*                      4. Program Run Instructions                           *
******************************************************************************

Download and save all files to your computer in the same location/directory/subdirectory. 
Open and run "Spatial Setup.do" Note that path to files must be set prior to running replication
Use Stata change-directory command;  cd "PATH" where PATH = directory path in which unzipped files have been stored.
In the command line, replace "<ETC>" with your file path for either Mac OSX or Windows.

Spatial Setup will generate spatial-weights matrices that will be saved in the working directory, and that
will be needed for replication


Once this is done, full replication is ready to run "Replication and SI.do"

Note: this replication will run the do file "Replication Setup.do" and will generate several tables (in comma-delimited format) 
in the working directory. 